<?php

namespace process;

use app\services\ActivityService;
use app\services\CoinService;
use app\services\OrderService;
use app\services\PropertyService;
use app\services\UserLevelService;
use app\services\UserPropertyService;
use app\services\UserTeamService;
use support\Db;
use Workerman\Crontab\Crontab;

class Task
{
    public function onWorkerStart()
    {
        new Crontab('*/5 * * * * *', function() {
            OrderService::autoCancel();
        });
    }
}